.box3d{
    width: 100px;
    height: 100px;
    background: #1d2b3a;
    text-align: center;
    line-height: 100px;
    color: white;
}
.transform-origin{
    transform-origin: center;
    transform: rotate3d(1,1,1,45deg);
    perspective: 800px;
}